﻿using System;
using System.Windows.Forms;
using ChatClientApp.GUI;

namespace ChatClientApp
{
    static class Program
    {
        /// <summary>
        /// Der Haupteinstiegspunkt für die Anwendung.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            if (System.IO.File.Exists("user_complete.dll"))
            {
                if (System.IO.File.Exists("config.cfg"))
                {
                    Tools.Tools.UpdateServer();
                }
                Application.Run(new fContactList());
            }
            else
                MessageBox.Show("user_complete.dll is missing.\r\nApplication will Exit.");
        }
    }
}
